package com.jader.beans;

import java.io.Serializable;

public class FaTie_Bens implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	int  userid;
	String headID;// 用户头像路径
	String userName;// 用户姓名
	long tieziid;// 帖子ID
	String date;// 发帖时间
	String t_tittle;// 标题
	String t_content;// 描述
	int dongtaidenlei;// 动态分类

	public FaTie_Bens() {
		super();
	}

	public FaTie_Bens(int  userid,String headID, String userName, long tieziid,
			String date, String t_tittle, String t_content, int dongtaidenlei) {
		super();
		this.userid=userid;
		this.headID = headID;
		this.userName = userName;
		this.tieziid = tieziid;
		this.date = date;
		this.t_tittle = t_tittle;
		this.t_content = t_content;
		this.dongtaidenlei = dongtaidenlei;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public String getHeadID() {
		return headID;
	}

	public void setHeadID(String headID) {
		this.headID = headID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public long getTieziid() {
		return tieziid;
	}

	public void setTieziid(long tieziid) {
		this.tieziid = tieziid;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getT_tittle() {
		return t_tittle;
	}

	public void setT_tittle(String t_tittle) {
		this.t_tittle = t_tittle;
	}

	public String getT_content() {
		return t_content;
	}

	public void setT_content(String t_content) {
		this.t_content = t_content;
	}

	public int getDongtaidenlei() {
		return dongtaidenlei;
	}

	public void setDongtaidenlei(int dongtaidenlei) {
		this.dongtaidenlei = dongtaidenlei;
	}

	@Override
	public String toString() {
		return "FaTie_Bens [headID=" + headID + ", userName=" + userName
				+ ", tieziid=" + tieziid + ", date=" + date + ", t_tittle="
				+ t_tittle + ", t_content=" + t_content + ", dongtaidenlei="
				+ dongtaidenlei + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (tieziid ^ (tieziid >>> 32));
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		FaTie_Bens other = (FaTie_Bens) obj;
		if (tieziid != other.tieziid)
			return false;
		return true;
	}

}
